/*
 * Created on 16/05/2005
 */
package main;


import modelo.Hora;
import modelo.Minutos;
import view.FrameReloj;


public class MainReloj {

    public static void main(String[] args) {
        if(args.length == 0)
            runExample1();
        else{
            int option = Integer.parseInt(args[0]);
            switch(option){
            	case 1:
            	    runExample1();
            	    break;
            	/*case 2:
            	    runExample2();
            	    break;
            	case 3:
            	    runExample3();
            	    break;*/
            }
        }
    }
    
    public static void runExample1(){
		Hora h = new Hora(7);
		Minutos m = new Minutos(25);
		FrameReloj board = new FrameReloj(h,m);
		//board.add(new HoraView(h));
		board.setVisible(true);
    }
}
